package com.keyinong.caizhengting.entity;

import java.io.Serializable;

public class ShangpinEntity implements Serializable {

    private static final long serialVersionUID = -7060210544600464481L;

    private String id;
    private String name;
    private String image;
    private String content;
    private String price;
    private String amount;
    private String collect;
    private String spid;
    private String spname;
    private String spprice;
    private String spamount;
    private String arraylength;

    private String unit;
    private String stock;
    private String perlim;
    private String daylim;
    private String sellnum;
    private String buyamount;


    public ShangpinEntity(String id, String name, String image, String content,
                          String price, String unit) {
        super();
        this.id = id;
        this.name = name;
        this.image = image;
        this.content = content;
        this.price = price;
        this.unit = unit;
    }

    public ShangpinEntity(String id, String name, String image, String content,
                          String price, String amount, String unit, String stock,
                          String perlim, String daylim, String sellnum, String buyamount) {
        super();
        this.id = id;
        this.name = name;
        this.image = image;
        this.content = content;
        this.price = price;
        this.amount = amount;
        this.unit = unit;
        this.stock = stock;
        this.perlim = perlim;
        this.daylim = daylim;
        this.sellnum = sellnum;
        this.buyamount = buyamount;
    }


    /*
    public ShangpinEntity(String id, String name, String image, String content,
                          String price, String amount, String collect, String spid,
                          String spname, String spprice, String spamount, String arraylength) {
        super();
        this.id = id;
        this.name = name;
        this.image = image;
        this.content = content;
        this.price = price;
        this.amount = amount;
        this.collect = collect;
        this.spid = spid;
        this.spname = spname;
        this.spprice = spprice;
        this.spamount = spamount;
        this.arraylength = arraylength;
    }*/

    public ShangpinEntity(String id, String name, String image, String content,
                          String price, String amount, String collect) {
        super();
        this.id = id;
        this.name = name;
        this.image = image;
        this.content = content;
        this.price = price;
        this.amount = amount;
        this.collect = collect;
    }

    public String getBuyamount() {
        return buyamount;
    }

    public void setBuyamount(String buyamount) {
        this.buyamount = buyamount;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getPerlim() {
        return perlim;
    }

    public void setPerlim(String perlim) {
        this.perlim = perlim;
    }

    public String getSellnum() {
        return sellnum;
    }

    public void setSellnum(String sellnum) {
        this.sellnum = sellnum;
    }

    public String getArraylength() {
        return arraylength;
    }

    public void setArraylength(String arraylength) {
        this.arraylength = arraylength;
    }

    public String getSpid() {
        return spid;
    }

    public void setSpid(String spid) {
        this.spid = spid;
    }

    public String getSpname() {
        return spname;
    }

    public void setSpname(String spname) {
        this.spname = spname;
    }

    public String getSpprice() {
        return spprice;
    }

    public void setSpprice(String spprice) {
        this.spprice = spprice;
    }

    public String getSpamount() {
        return spamount;
    }

    public void setSpamount(String spamount) {
        this.spamount = spamount;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getDaylim() {
        return daylim;
    }

    public void setDaylim(String daylim) {
        this.daylim = daylim;
    }

    @Override
    public String toString() {
        return "ShangpinEntity{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", content='" + content + '\'' +
                ", price='" + price + '\'' +
                ", amount='" + amount + '\'' +
                ", collect='" + collect + '\'' +
                ", spid='" + spid + '\'' +
                ", spname='" + spname + '\'' +
                ", spprice='" + spprice + '\'' +
                ", spamount='" + spamount + '\'' +
                ", arraylength='" + arraylength + '\'' +
                ", unit='" + unit + '\'' +
                ", stock='" + stock + '\'' +
                ", perlim='" + perlim + '\'' +
                ", sellnum='" + sellnum + '\'' +
                ", buyamount='" + buyamount + '\'' +
                '}';
    }
}
